package com.kamisama.utopia.constant.character;

public class Satiety {
    public static final String LV1 = "快饿死了";
    public static final String LV2 = "咕噜咕噜";
    public static final String LV3 = "想吃东西";
    public static final String LV4 = "有点饱了";
    public static final String LV5 = "一本满足";
    public static final String LV6 = "即将爆炸";

    public static String formatSatiety(int satietyPercent) {
        String satiety = "";
        if (satietyPercent <= 10) {
            satiety = "饱食：" + Satiety.LV1;
        } else if (satietyPercent <= 30) {
            satiety = "饱食：" + Satiety.LV2;
        } else if (satietyPercent <= 60) {
            satiety = "饱食：" + Satiety.LV3;
        } else if (satietyPercent <= 80) {
            satiety = "饱食：" + Satiety.LV4;
        } else if (satietyPercent < 110) {
            satiety = "饱食：" + Satiety.LV5;
        } else {
            satiety = "饱食：" + Satiety.LV6;
        }
        satiety = satiety + " [" + satietyPercent +"%] \n";
        return satiety;
    }
}
